package com.joysuch.wwyt.streampusher.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data
@Accessors(chain = true)
public class StreamVo implements Serializable {
    private static final long serialVersionUID = 1019426182324910L;
    @ApiModelProperty(value = "RTSP流地址", required = true)
        private List<String> rtspUrl;
    @ApiModelProperty(value = "RTSP流；类型 VideoCodecEnum", required = true)
    private String type;
    @ApiModelProperty(value = "RTSP流；类型 PlayTypeEnum", required = true)
    private String palyType;
    @ApiModelProperty(value = "开始时间，回放的时候有值")
    private Date startTime;
    @ApiModelProperty(value = "结束时间，回放的时候有值")
    private Date endTime;


    //增加参数字段protocol ,1表示TCP，2表示UDP
    @ApiModelProperty(value = "1表示TCP，2表示UDP")
    private Integer protocol;
}
